/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

/**
 *
 * @author Vodo
 */
public class Adresse 
{
    private int adrID;   
    private String strasse;
    private String plz;
    private String ort;

    public Adresse(String strasse, String plz, String ort) {
        this.strasse = strasse;
        this.plz = plz;
        this.ort = ort;
    }

    public int getAdrID() {
        return adrID;
    }

    public void setAdrID(int adrID) {
        this.adrID = adrID;
    }

    public String getStrasse() {
        return strasse;
    }

    public void setStrasse(String strasse) {
        this.strasse = strasse;
    }

    public String getPlz() {
        return plz;
    }

    public void setPlz(String plz) {
        this.plz = plz;
    }

    public String getOrt() {
        return ort;
    }

    public void setOrt(String ort) {
        this.ort = ort;
    }

    
    
    @Override
    public String toString() {
        return  strasse+" " + plz + ", " + ort ;
    }
}
